package com.wlps.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wlps.entity.MissionList;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class MissionListVo {
    private Long orderId;
    @ApiModelProperty(value = "任务号")
    private Long id;

    private Integer orderStatus;

    private Long userId;


    private Double serviceMoney;


    private Long clientId;


    private String customerSatisfaction;


    private Integer taskType;

//    @ApiModelProperty(value = "任务状态,配送员分配中(-1)、已领货(0)、 部分完成（1）、 完成（2）、 失败（3）、 已退货（4）、默认-1")
    private Integer taskStatus;


    private String clientFeedback;


    private String servicetimeInformation;


    private String remark;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//数据库导出页面时json格式化
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//数据库导出页面时json格式化
    private Date updateTime;


}
